/* 
 * Since 2008 - 2012
 */
package com.hh.bss.talent.vo.query;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.hh.bss.base.BaseQuery;
import com.hh.bss.util.StringHelper;

public class CvQuery extends BaseQuery implements Serializable {
	private static final long serialVersionUID = 3148176768559230877L;

	/** id */
	private String id;
	/** 姓名 */
	private java.lang.String cvName;
	/** 英文名 */
	private java.lang.String cvNameEn;
	/** 姓名来源线人 */
	private java.lang.String nameInformer;
	/** 姓名来源时间 */
	private java.util.Date nameDtBegin;
	private java.util.Date nameDtEnd;
	/** M-男 F-女 */
	private java.lang.String sex;
	/** 出生日期 */
	private java.util.Date birthdayBegin;
	private java.util.Date birthdayEnd;
	/** 手机 */
	private java.lang.String mobile;
	/** 固定电话 */
	private java.lang.String tel;
	/** msn/qq */
	private java.lang.String im;
	/** 邮箱 */
	private java.lang.String email;
	/** 现任职公司 */
	private java.lang.String company;
	/** 现任公司Id */
	private Integer companyId;
	/** 现任公司为空 */
	private String companyNull;
	/** 曾任公司为空 */
	private String oldcompanyNull;
	/** 当前年薪 */
	private java.lang.Integer currentSalary;
	/** 技能 */
	private String skill;

	private Integer isProtectCv;

	private String ageRange; // 年龄范围

	private String workRange; // 工作年限范围
	/** 简历完整度 */
	private String integrity;
	/** 排除简历完整度 */
	private String exintegrity;
	/** 是否删除 */
	private String isDelete;
	/** 创建人/修改人 */
	private String bothCreator;
	/** 中/英文名 */
	private String bothName;
	/** 职位/岗位 */
	private String bothTitle;

	/** 创建/修改时间 */
	private Date bothDtBegin;

	/** 创建/修改时间 */
	private Date bothDtEnd;

	/** 联系方式 */
	private String contactDetails;
	
	private String cvText;
	/**联动*/
	private Integer linkage;

	public Integer getLinkage() {
		return linkage;
	}

	public void setLinkage(Integer linkage) {
		this.linkage = linkage;
	}

	public String getCvText() {
		return cvText;
	}

	public void setCvText(String cvText) {
		this.cvText = cvText;
	}

	public String getContactDetails() {
		return contactDetails;
	}

	public void setContactDetails(String contactDetails) {
		this.contactDetails = contactDetails;
	}

	public Date getBothDtBegin() {
		return bothDtBegin;
	}

	public void setBothDtBegin(Date bothDtBegin) {
		this.bothDtBegin = bothDtBegin;
	}

	public Date getBothDtEnd() {
		return bothDtEnd;
	}

	public void setBothDtEnd(Date bothDtEnd) {
		this.bothDtEnd = bothDtEnd;
	}

	public String getBothTitle() {
		return bothTitle;
	}

	public void setBothTitle(String bothTitle) {
		this.bothTitle = bothTitle;
	}

	public String getBothName() {
		return bothName;
	}

	public void setBothName(String bothName) {
		this.bothName = bothName;
	}

	public String getBothCreator() {
		return bothCreator;
	}

	public void setBothCreator(String bothCreator) {
		this.bothCreator = bothCreator;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getExintegrity() {
		return exintegrity;
	}

	public void setExintegrity(String exintegrity) {
		this.exintegrity = exintegrity;
	}

	/** 是否有附件 */
	private Integer hasAttachment;

	/** 现职位 */
	private String position;
	/** 现职位为空 */
	private String positionNull;
	/** 现岗位为空 */
	private String titleNull;

	private String companyName;
	private String deptName;
	private String titleName;

	public String getPositionNull() {
		return positionNull;
	}

	public void setPositionNull(String positionNull) {
		this.positionNull = positionNull;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getTitleNull() {
		return titleNull;
	}

	public void setTitleNull(String titleNull) {
		this.titleNull = titleNull;
	}

	public Integer getHasAttachment() {
		return hasAttachment;
	}

	public void setHasAttachment(Integer hasAttachment) {
		this.hasAttachment = hasAttachment;
	}

	public String getIntegrity() {
		return integrity;
	}

	public void setIntegrity(String integrity) {
		this.integrity = integrity;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getAgeRange() {
		return ageRange;
	}

	public void setAgeRange(String ageRange) {
		this.ageRange = ageRange;
	}

	public String getWorkRange() {
		return workRange;
	}

	public void setWorkRange(String workRange) {
		this.workRange = workRange;
	}

	public Integer getIsProtectCv() {
		return isProtectCv;
	}

	public void setIsProtectCv(Integer isProtectCv) {
		this.isProtectCv = isProtectCv;
	}

	public String getSkill() {
		return skill;
	}

	public void setSkill(String skill) {
		this.skill = skill;
	}

	public java.lang.Integer getCurrentSalary() {
		return currentSalary;
	}

	public void setCurrentSalary(java.lang.Integer currentSalary) {
		this.currentSalary = currentSalary;
	}

	public String getCompanyNull() {
		return companyNull;
	}

	public void setCompanyNull(String companyNull) {
		this.companyNull = companyNull;
	}

	public String getOldcompanyNull() {
		return oldcompanyNull;
	}

	public void setOldcompanyNull(String oldcompanyNull) {
		this.oldcompanyNull = oldcompanyNull;
	}

	/** 现任职公司 */
	private java.lang.String oldcompany;
	/** 现任职部门 */
	private java.lang.String dept;
	/** 现任职职位 */
	private java.lang.String title;
	/** 行业，从字典选择 */
	private String industry;
	/** 职能，从字典选择 */
	private String function;
	/** 职级：从字典选择 */
	private String level;
	/** 婚姻状况 */
	private Integer married;
	/** 户口所在地 */
	private java.lang.Integer registerLocation;
	/** 详细家庭地址 */
	private java.lang.String address;
	/** 邮编 */
	private java.lang.String postCode;
	/** 学历,从字典选择 */
	private java.lang.Integer degree;
	/** 工作年限 */
	private Integer workYear;
	/** 家庭背景 */
	private java.lang.String homeBack;
	/** 个人爱好英文描述 */
	private java.lang.String interestEn;
	/** 个人爱好 */
	private java.lang.String interest;
	/** 期望工作地点，从字典选择 */
	private java.lang.Integer expectLocation;
	/** 简历线人 */
	private java.lang.String resumeInformer;
	/** 简历来源时间 */
	private java.util.Date resumeDtBegin;
	private java.util.Date resumeDtEnd;
	/** 从常量选择 */
	private java.lang.String cvType;
	/** cvStatus */
	private java.lang.String cvStatus;
	/** L-导入 H-录入 */
	private java.lang.String cvFrom;
	/** creator */
	private java.lang.String creator;
	/** createDt */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	/** modifier */
	private java.lang.String modifier;
	/** modifiedDt */
	private java.util.Date modifiedDtBegin;
	private java.util.Date modifiedDtEnd;
	/** 家庭背景英文描述 */
	private java.lang.String homeBackEn;
	private String phone;
	private String currentAddress;
	private Integer parentIndustry;
	private String parentFunction;
	/** 人选标签 */
	private String cvTag;
	/** 关键字 */
	private String keyword;
	/** 错乱行业 */
	private String errIndustry;

	private String modifiedDtString;

	public String getModifiedDtString() {
		return modifiedDtString;
	}

	public void setModifiedDtString(String modifiedDtString) {
		this.modifiedDtString = modifiedDtString;
	}

	public String getErrIndustry() {
		return errIndustry;
	}

	public void setErrIndustry(String errIndustry) {
		this.errIndustry = errIndustry;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getCvTag() {
		return cvTag;
	}

	public void setCvTag(String cvTag) {
		this.cvTag = cvTag;
	}

	public Integer getParentIndustry() {
		return parentIndustry;
	}

	public void setParentIndustry(Integer parentIndustry) {
		this.parentIndustry = parentIndustry;
	}

	public String getParentFunction() {
		return parentFunction;
	}

	public void setParentFunction(String parentFunction) {
		this.parentFunction = parentFunction;
	}

	private String comment;

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getTitleName() {
		return titleName;
	}

	public void setTitleName(String titleName) {
		this.titleName = titleName;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public java.lang.String getCvName() {
		return this.cvName;
	}

	public void setCvName(java.lang.String value) {
		this.cvName = value;
	}

	public java.lang.String getCvNameEn() {
		return this.cvNameEn;
	}

	public void setCvNameEn(java.lang.String value) {
		this.cvNameEn = value;
	}

	public java.lang.String getNameInformer() {
		return this.nameInformer;
	}

	public void setNameInformer(java.lang.String value) {
		this.nameInformer = value;
	}

	public java.util.Date getNameDtBegin() {
		return this.nameDtBegin;
	}

	public void setNameDtBegin(java.util.Date value) {
		this.nameDtBegin = value;
	}

	public java.util.Date getNameDtEnd() {
		return this.nameDtEnd;
	}

	public void setNameDtEnd(java.util.Date value) {
		this.nameDtEnd = value;
	}

	public java.lang.String getSex() {
		return this.sex;
	}

	public void setSex(java.lang.String value) {
		this.sex = value;
	}

	public java.util.Date getBirthdayBegin() {
		return this.birthdayBegin;
	}

	public void setBirthdayBegin(java.util.Date value) {
		this.birthdayBegin = value;
	}

	public java.util.Date getBirthdayEnd() {
		return this.birthdayEnd;
	}

	public void setBirthdayEnd(java.util.Date value) {
		this.birthdayEnd = value;
	}

	public java.lang.String getMobile() {
		return this.mobile;
	}

	public void setMobile(java.lang.String value) {
		this.mobile = value;
	}

	public java.lang.String getTel() {
		return this.tel;
	}

	public void setTel(java.lang.String value) {
		this.tel = value;
	}

	public java.lang.String getIm() {
		return this.im;
	}

	public void setIm(java.lang.String value) {
		this.im = value;
	}

	public java.lang.String getEmail() {
		return this.email;
	}

	public void setEmail(java.lang.String value) {
		this.email = value;
	}

	public java.lang.String getCompany() {
		return this.company;
	}

	public void setCompany(java.lang.String value) {
		this.company = value;
	}

	public java.lang.String getDept() {
		return this.dept;
	}

	public void setDept(java.lang.String value) {
		this.dept = value;
	}

	public java.lang.String getTitle() {
		return this.title;
	}

	public void setTitle(String value) {
		this.title = value;
	}

	public String getIndustry() {
		return this.industry;
	}

	public void setIndustry(String value) {
		this.industry = value;
	}

	public String getFunction() {
		return this.function;
	}

	public void setFunction(String value) {
		this.function = value;
	}

	public String getLevel() {
		return this.level;
	}

	public void setLevel(String value) {
		this.level = value;
	}

	public Integer getMarried() {
		return this.married;
	}

	public void setMarried(Integer value) {
		this.married = value;
	}

	public java.lang.Integer getRegisterLocation() {
		return this.registerLocation;
	}

	public void setRegisterLocation(java.lang.Integer value) {
		this.registerLocation = value;
	}

	public java.lang.String getAddress() {
		return this.address;
	}

	public void setAddress(java.lang.String value) {
		this.address = value;
	}

	public java.lang.String getPostCode() {
		return this.postCode;
	}

	public void setPostCode(java.lang.String value) {
		this.postCode = value;
	}

	public java.lang.Integer getDegree() {
		return this.degree;
	}

	public void setDegree(java.lang.Integer value) {
		this.degree = value;
	}

	public Integer getWorkYear() {
		return this.workYear;
	}

	public void setWorkYear(Integer value) {
		this.workYear = value;
	}

	public java.lang.String getHomeBack() {
		return this.homeBack;
	}

	public void setHomeBack(java.lang.String value) {
		this.homeBack = value;
	}

	public java.lang.String getInterestEn() {
		return this.interestEn;
	}

	public void setInterestEn(java.lang.String value) {
		this.interestEn = value;
	}

	public java.lang.String getInterest() {
		return this.interest;
	}

	public void setInterest(java.lang.String value) {
		this.interest = value;
	}

	public java.lang.Integer getExpectLocation() {
		return this.expectLocation;
	}

	public void setExpectLocation(java.lang.Integer value) {
		this.expectLocation = value;
	}

	public java.lang.String getResumeInformer() {
		return this.resumeInformer;
	}

	public void setResumeInformer(java.lang.String value) {
		this.resumeInformer = value;
	}

	public java.util.Date getResumeDtBegin() {
		return this.resumeDtBegin;
	}

	public void setResumeDtBegin(java.util.Date value) {
		this.resumeDtBegin = value;
	}

	public java.util.Date getResumeDtEnd() {
		return this.resumeDtEnd;
	}

	public void setResumeDtEnd(java.util.Date value) {
		this.resumeDtEnd = value;
	}

	public java.lang.String getCvType() {
		return this.cvType;
	}

	public void setCvType(java.lang.String value) {
		this.cvType = value;
	}

	public java.lang.String getCvStatus() {
		return this.cvStatus;
	}

	public void setCvStatus(java.lang.String value) {
		this.cvStatus = value;
	}

	public java.lang.String getCvFrom() {
		return this.cvFrom;
	}

	public void setCvFrom(java.lang.String value) {
		this.cvFrom = value;
	}

	public java.lang.String getCreator() {
		return this.creator;
	}

	public void setCreator(java.lang.String value) {
		this.creator = value;
	}

	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}

	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}

	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}

	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}

	public java.lang.String getModifier() {
		return this.modifier;
	}

	public void setModifier(java.lang.String value) {
		this.modifier = value;
	}

	public java.util.Date getModifiedDtBegin() {
		return this.modifiedDtBegin;
	}

	public void setModifiedDtBegin(java.util.Date value) {
		this.modifiedDtBegin = value;
	}

	public java.util.Date getModifiedDtEnd() {
		return this.modifiedDtEnd;
	}

	public void setModifiedDtEnd(java.util.Date value) {
		this.modifiedDtEnd = value;
	}

	public java.lang.String getHomeBackEn() {
		return this.homeBackEn;
	}

	public void setHomeBackEn(java.lang.String value) {
		this.homeBackEn = value;
	}

	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	private String sort;
	private String dir;

	public String getSort() {
		return sort;
	}

	public java.lang.String getOldcompany() {
		return oldcompany;
	}

	public void setOldcompany(java.lang.String oldcompany) {
		this.oldcompany = oldcompany;
	}

	public void setSort(String sort) {

		this.sort = sort;
		if (!StringHelper.isEmpty(sort) && !StringHelper.isEmpty(dir))
			this.setSortColumns(sort + " " + dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getCurrentAddress() {
		return currentAddress;
	}

	public void setCurrentAddress(String currentAddress) {
		this.currentAddress = currentAddress;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}
